package com.ruoyi.applet.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.brisk.common.annotation.Excel;
import com.brisk.common.core.domain.BaseEntity;
import lombok.*;

import java.util.Date;

/**
 * appletWalkRow对象 applet_walk_row
 *
 * @author PENGFEIDENG
 * @date 2022-06-01
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class AppletWalkRow extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    private Long rowId;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;

    /**
     * 用户昵称
     */
    @Excel(name = "用户昵称")
    private String nickName;

    /**
     * 用户头像
     */
    @Excel(name = "用户头像")
    private String avatarUrl;

    /**
     * 记录时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rowTime;

    /**
     * 真实姓名
     */
    @Excel(name = "真实姓名")
    private String userName;

    /**
     * 兑换前步数
     */
    @Excel(name = "兑换前步数")
    private Integer agoWalk;

    /**
     * 当天微信步数
     */
    @Excel(name = "当天微信步数")
    private Integer nowWalk;

}
